@import '../../../../../assets/less/base/variables.less';
.content {
	padding: 30px 0;
	padding-top: 10px;
}

.main-content {
	padding: 0 20px 40px 20px;
}

.rule-type-tab {
	display: flex;
	.tab-item {
		width: 128px;
		height: 45px;
		display: flex;
		align-items: center;
		justify-content: center;
		.el-radio {
			display: flex;
			align-items: center;
			justify-content: center;
		}
		&.active {
			background: @greyF4;
			border-top-left-radius: 4px;
			border-top-right-radius: 4px;
		}
	}
}

.zb-inline-form {
	margin-bottom: 18px;
	display: flex;
	align-items: center;
	.el-form-item {
		margin-bottom: 0;
		&.input-width-control {
			.el-form-item__content {
				width: 180px;
			}
		}
	}
}

.question-icon {
	font-size: 20px;
	color: @grey99;
	margin: 0 8px;
	cursor: pointer;
}

.add-rule-icon {
	margin-left: 30px;
}

.add-ruleDetail-icon {
	margin-left: 10px;
}

.el-date-editor.el-input {
	width: 170px;
}

.date-form-item {
	padding: 7px;
	background: @grayE9;
	margin-bottom: 10px;
	position: relative;
}

.daysRules {
	.top-title {
		font-size: 14px;
		color: @darkGrey;
		line-height: 30px;
		background: @greyF4;
		padding: 0 20px;
	}
	.daysRules-content {
		padding-left: 20px;
		padding-right: 20px;
		padding-top: 20px;
	}
}

.zb-form .daysRules-content .el-radio {
	width: 95px;
}

.del-icon {
	position: absolute;
	right: 0;
	top: 0;
	height: 100%;
	width: 60px;
	display: flex;
	justify-content: center;
	align-items: center;
	cursor: pointer;
	.el-icon-close {
		color: @grey66;
		font-size: 16px;
	}
}

.special-rule-form {
	.special-rule-list {
		margin-top: 30px;
		.special-rule-item:not(:last-child) {
			margin-bottom: 20px;
		}
		.rule-content {
			.action-box {
				display: flex;
				margin-bottom: 0;
				margin-top: 30px;
				padding-left: 20px;
			}
			.rule-inline-form:last-child {
				margin-bottom: 0;
			}
			.el-select {
				width: 172px;
			}
			.el-radio-group .el-radio {
				width: 109px;
			}
		}
	}
}
.add-special-rule-item {
	margin-top: 20px;
	.rule-type-tab .tab-item {
		width: 156px;
	}
}
.add-special-rule-bd {
	padding: 10px 20px 20px 20px;
	border: 1px solid @grayD8;
	border-radius: 4px;
	margin-top: 18px;
	.rule-content {
		padding: 20px;
		padding-top: 30px;
		padding-bottom: 10px;
		background: @greyF4;
	}
	.el-select {
		width: 176px;
	}
	.el-date-editor.el-input {
		width: 176px;
	}
}

.unit_ {
	font-size: 20px;
	margin: 0 10px;
}

.add-special-rule-item .rule-type-tab .el-radio-group {
	display: flex;
}

.add-ruleGroup-icon {
	color: @blue;
	font-size: 14px;
	display: flex;
	align-items: center;
	cursor: pointer;
	.el-icon-circle-plus {
		font-size: 17px;
	}
}

.rule-form {
	margin-bottom: 25px;
}
